#include "logger.h"
#include <spdlog/sinks/stdout_color_sinks.h>
std::shared_ptr<spdlog::logger> GlobalLogger;
void init_logger()
{
    GlobalLogger = spdlog::stdout_color_mt("console");
}

void set_log_level(spdlog::level::level_enum level)
{
    GlobalLogger->set_level(level);
}